Skip to content

[Types] LLM-driven type-error transform capstone#7407

Merged
WatchTheFort merged 2 commits into
beyond-all-reason:fmt-llm-sourcefrom
keithharvey:fmt-llm
Jul 8, 2026
Merged

[Types] LLM-driven type-error transform capstone#7407
WatchTheFort merged 2 commits into
beyond-all-reason:fmt-llm-sourcefrom
keithharvey:fmt-llm

Conversation

@keithharvey

@keithharvey keithharvey commented Apr 11, 2026

Copy link
Copy Markdown
Collaborator

Part of BAR type-error cleanup. Final stage: deterministic transforms + env layer + LLM type-fix pass.

LLM workers apply the categorized fix recipes in SKILL.md — each category maps an emmylua_check error pattern to an idempotent recipe.

Triage run

baseline_errors=56
final_errors=0
chunks=6
model=gpt-5.4
timestamp=2026-07-08T19:09:53Z

Branch Topology

All branches in the BAR type-error cleanup stack. Regenerated deterministically by just bar::fmt-mig-generate. Generated 2026-07-08 19:10:44 UTC.

Leaves — each targets master, mergeable independently:

Branch Command Diff vs parent Units
fmt stylua 1373 files, +177644 −182508 ✅ pass
mig-bracket bar-lua-codemod bracket-to-dot 333 files, +7578 −7578 ✅ pass
mig-rename-aliases bar-lua-codemod rename-aliases 174 files, +364 −364 ✅ pass
mig-detach-bar-modules bar-lua-codemod detach-bar-modules 178 files, +1688 −1560 ✅ pass
mig-integration-tests <hand curated> 20 files, +134 −81 ✅ pass
mig-busted-types <hand curated> 12 files, +1501 −0 ✅ pass

Rollups — composite branches stacking the leaves and (for fmt-llm) the env + LLM layers:

Branch Diff vs master Diff vs parent Units
mig 1398 files, +181877 −185059 509 files, +11219 −9537 ✅ pass
fmt-llm-source 1404 files, +182404 −185341 57 files, +581 −336 ✅ pass
fmt-llm 1405 files, +182461 −185363 35 files, +74 −39 ✅ pass

@keithharvey keithharvey force-pushed the fmt-llm branch 2 times, most recently from f4467f5 to cceb22b Compare April 12, 2026 01:10
@github-actions

github-actions Bot commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

Integration Test Results

14 tests  ±0   6 ✅ ±0   3s ⏱️ ±0s
 1 suites ±0   8 💤 ±0 
 1 files   ±0   0 ❌ ±0 

Results for commit 3a80008. ± Comparison against base commit 8869f1e.

♻️ This comment has been updated with latest results.

@keithharvey

Copy link
Copy Markdown
Collaborator Author

Integration tests are passing, it's a lie because of the engine version. I could zip up the engine and run a custom workflow every time I push this to prove that, but I'm not gonna.

@keithharvey keithharvey force-pushed the fmt-llm branch 4 times, most recently from c4ea6c1 to 05f7331 Compare April 14, 2026 18:50
@keithharvey keithharvey force-pushed the fmt-llm branch 2 times, most recently from 3c34889 to 260c869 Compare April 24, 2026 18:39
@keithharvey keithharvey force-pushed the fmt-llm-source branch 2 times, most recently from 4ea23e7 to deb455c Compare April 24, 2026 19:02
@WatchTheFort WatchTheFort marked this pull request as draft April 29, 2026 18:26
@keithharvey keithharvey force-pushed the fmt-llm branch 4 times, most recently from ec851d4 to 6d99917 Compare April 30, 2026 03:34
@keithharvey keithharvey force-pushed the fmt-llm-source branch 2 times, most recently from 3acc748 to 1927033 Compare April 30, 2026 04:55
@keithharvey keithharvey force-pushed the fmt-llm branch 3 times, most recently from 89cec43 to d111553 Compare April 30, 2026 07:27
Generated by parallel claude-sonnet-4-6 workers dispatched by
scripts/codemod/llm-type-triage.sh, applying fixes per SKILL.md categories.
Single pass, no iteration — categories that don't shrink the count
are a signal that SKILL.md needs a new rule.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants